package uc.org.jkas.app;
import org.jkas.core.Base;
public class FrontBase extends Base
{ 
	public boolean init()
	{
	 viewPath("themes");
	 viewTheme("default");
	 this.viewInit();
     this.localeInit();
	 this.assign("k","v");
	 this.assign("L",this.lang());
	 this.assign("__images__",this.viewPath()+"/"+this.viewTheme()+"/images");
	 assign("app",this.getApp().toLowerCase());
	 assign("locale",cookie("locale"));
	 seo("Jkas","Java kit as server","Jkas");
	 return true;
	}

	protected final void seo(String title,String description,String keywords)
	{assign("page_title",title);
	 assign("page_keywords",keywords);
	 assign("page_description",description);
	}
}